package com.mashibing.apidriver.service;

import org.mashibing.dto.ResponseResult;
import org.mashibing.response.TokenResponse;

/**
 * @author:
 * @create: 2024/6/28 11:02
 * @description:
 */
public interface VerificationCodeService {
    /**
     * 司机获取验证码
     */
    ResponseResult checkVerificationCode(String driverPhone);

    /**
     * 司机检验验证码
     */
    ResponseResult<TokenResponse> checkCode(String driverPhone, String verificationCode);
}
